import {
  House,
  User,
  Opportunity,
  Bell,
  DataAnalysis,
} from '@element-plus/icons-vue';

export default [
  {
    path: '/home',
    name: 'home',
    titleKey: 'home',
    icon: House,
  },
  {
    path: '/userContorl',
    name: 'userManagement',
    titleKey: 'userManagement',
    icon: User,
    children: [
      {
        path: '/userContorl/volunteer',
        name: 'volunteerManagement',
        titleKey: 'volunteerManagement',
      },
      {
        path: '/userContorl/elderly',
        name: 'elderlyManagement',
        titleKey: 'elderlyManagement',
      },
    ],
  },
  {
    path: '/Notify',
    name: 'messageNotification',
    titleKey: 'messageNotification',
    icon: Bell,
    children: [
      {
        path: '/Notify/addNotify',
        name: 'publishNotification',
        titleKey: 'publishNotification',
      },
      {
        path: '/Notify/selectNotify',
        name: 'viewNotification',
        titleKey: 'viewNotification',
      },
    ],
  },
  {
    path: '/task',
    name: 'taskManagement',
    titleKey: 'taskManagement',
    icon: Opportunity,
    children: [
      {
        path: '/task/taskSelect',
        name: 'taskSelect',
        titleKey: 'taskSelect',
      },
      {
        path: '/task/taskCheck',
        name: 'taskCheck',
        titleKey: 'taskCheck',
      },
    ],
  },
  {
    path: '/DataAnalyze',
    name: 'dataAnalyze',
    titleKey: 'dataAnalyze',
    icon: DataAnalysis,
    children: [
      {
        path: '/DataAnalyze/elderlyAnalyze',
        name: 'elderlyAnalyze',
        titleKey: 'elderlyDataAnalysis',
      },
      {
        path: '/DataAnalyze/volunteerAnalyze',
        name: 'volunteerAnalyze',
        titleKey: 'volunteerDataAnalysis',
      },
      {
        path: '/DataAnalyze/taskAnalyze',
        name: 'taskAnalyze',
        titleKey: 'taskDataAnalysis',
      },
    ],
  },
];
